From: Daniel Baumann Date: Fri, 7 Aug 2026 06:36:03 +0000 (+0200) Subject: dnsperf (2.16.0-1) sid; urgency=medium X-Git-Tag: archive/raspbian/2.16.0-1+rpi1^2~2 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/github.com/KDE///%22http:/www.example.com/cgi/%22https:/github.com/KDE/?a=commitdiff_plain;h=411629061564c8396c1d3fb5dbad5fe02b6dbf5c;p=dnsperf.git dnsperf (2.16.0-1) sid; urgency=medium * Updating to debhelper 14. * Merging upstream version 2.16.0. [dgit import unpatched dnsperf 2.16.0-1] --- 411629061564c8396c1d3fb5dbad5fe02b6dbf5c diff --cc debian/changelog index ff9837c,0000000..9a27136 mode 100644,000000..100644 --- a/debian/changelog +++ b/debian/changelog @@@ -1,796 -1,0 +1,201 @@@ - dnsperf (2.16.0-1~unstable+1) unstable; urgency=low ++dnsperf (2.16.0-1) sid; urgency=medium + - * Release 2.16.0 - - This release adds TLS session resumption and `SSLKEYLOGFILE` support - for DNS-over-TLS and DNS-over-HTTPS, work contributed by - Ranya Sharma (PCH) and Sara Dickinson (Sinodun IT). - - 2b91cd0 format, fixes, doc, tests - 3c3f521 Implement session resumption for DoT and DoH ++ * Updating to debhelper 14. ++ * Merging upstream version 2.16.0. + - -- Jerry Lundström Wed, 05 Aug 2026 14:26:59 +0200 - - dnsperf (2.15.1-1~unstable+1) unstable; urgency=low - - * Release 2.15.1 - - This release fixes issues receiving DNS-over-HTTPS responses, previously - responses could be dropped due to incorrect handling in callbacks from - libnghttp2. - - Other changes; - - Updated internal known QTYPE table - - Updates to CI ++ -- Daniel Baumann Fri, 07 Aug 2026 08:36:03 +0200 + - 53c06f2 DoH - ad8c352 DOH - 16a2975 actions - ed0a553 QTYPEs ++dnsperf (2.15.1-1) sid; urgency=medium + - -- Jerry Lundström Wed, 15 Apr 2026 14:31:32 +0200 - - dnsperf (2.15.0-1~unstable+1) unstable; urgency=low - - * Release 2.15.0 - - This release brings several new features and a few bug fixes. - - Both `dnsperf` and `resperf` will now report statistics on receiving - unexpected DNS message IDs in responses. - - Datafiles now support `\DDD` encoding in domain names as specified in - RFC1035 "5.1. Format". - - Thanks to funding from Internet Systems Consortium (isc.org) statistics - in `dnsperf` can now be outputted as a stream of JSON objects using - the new option `-j`, see man-page for more details. - - Bugfixes: - - Output correct histogram for connection latency, it was showing the histogram for response latency - - Fixed double new-line in some perf_log_* calls - - Other changes: - - `dnsperf`: Fixed order of options in man-page - - `test`: Use valid DNS queries as largest UDP and TCP test payloads - - Fixed/modernize spec file - - Fix for gcov, was not removing old profile data from subdirectories - - `resperf`: Fixed scan-build inability to know fatal ends the program - - Fixed test 5, wait for background process instead of sleeping - - `test5`: Use a different port for DoH, `dumdumd` and `dumdohd` seems to interfere with each other - - `Dockerfile`: Track the latest LTS version of Ubuntu - - Migrate to Codeberg ++ * Updating to standards version 4.7.4. ++ * Merging upstream version 2.15.1. + - 40adb3e Copyright - 9ce0a3f openSUSE/SLE packages - 3cef733 json-c - 09d9e5d quoting - ab4632d json statistics - f3e95e6 json statistics - 4952b6c domain name quoting - 4145323 Conn Latency histogram - b3cd9c6 Track the latest LTS version of Ubuntu in the Dockerfile - 0b02010 fix scan-build - d9f2df9 CI updates - bd1fdf3 CI - 0bf22cd bsd builds, debian build - 6d67d0d builds - 12d6789 Migrate to Codeberg - 0585df1 unexpected - 5748811 Add stats for unexpected message IDs - c4a3515 test 5 - acfe3bc test5 - fcb556e fix gcov - 15057bc SPEC - 3c131a7 Badges - 1ef5b41 largest blobs - ef41ffa Use valid DNS queries as largest UDP and TCP test payloads - 32d2a7e Workflow ++ -- Daniel Baumann Fri, 17 Apr 2026 07:33:35 +0200 + - -- Jerry Lundström Mon, 19 Jan 2026 10:52:45 +0100 ++dnsperf (2.15.0-2) sid; urgency=medium + - dnsperf (2.14.0-1~unstable+1) unstable; urgency=low ++ * Updating watch file to version 5. + - * Release 2.14.0 ++ -- Daniel Baumann Sun, 08 Feb 2026 10:55:45 +0100 + - This release rewords connection statistics, adds names to threads and - fixes a bug with using TSIG in more than one thread. ++dnsperf (2.15.0-1) sid; urgency=medium + - In "Connection Statistics", reconnections has been renamed to - connection attempts and now includes both the initial connection - attempt and following reconnections. - - If supported, threads will now be named after what they do, such as - "perf-send-" and "perf-recv-". - - The TSIG context was shared between all threads and would case a crash - if more than one sending thread was used. This has been fixed and TSIG - contexts are now per thread. ++ * Updating to standards version 4.7.3. ++ * Merging upstream version 2.15.0. ++ * Updating years in copyright for 2026. ++ * Refreshing queryparse-shebang.patch. + - 81dc36b TSIG context per thread - 55011c6 Thread names - 8bdd480 thread names - 17c680d Set thread names for dnsperf - 54e641d Add library function to set thread names - fb19440 Dockerfile - a80de21 Reword connection statistics - 688a4fd Reword connection statistics ++ -- Daniel Baumann Mon, 19 Jan 2026 20:23:23 +0100 + - -- Jerry Lundström Thu, 18 Jan 2024 10:06:11 +0100 ++dnsperf (2.14.0-6) sid; urgency=medium + - dnsperf (2.13.1-1~unstable+1) unstable; urgency=low ++ * Harmonizing upstream urls. ++ * Adding upstream metadata. ++ * Removing rules-requires-root, not needed anymore. ++ * Updating upstream urls from github to codeberg. + - * Release 2.13.1 ++ -- Daniel Baumann Sat, 29 Nov 2025 03:20:35 +0100 + - This release fixes a few issues with in-progress queries and the TCP - transport module. ++dnsperf (2.14.0-5) sid; urgency=medium + - When using stateful connections, such as TCP, if the full query couldn't - be sent in one go then the query and connection could get stuck as - "in-progress". - This could easily happen if you limited the in-flight queries to 1 and - sent very large DNS messages using the stream binary format. - Additional socket ready checks has been added to flush in-progress - queries as quickly as possible. ++ * Simplifying watch file. + - The TCP module's handling of errors when continuing in-progress queries - has been fixed. Previously it would interpret EAGAIN as an unrecoverable - error and trigger a reconnect, dropping the quer-y/ies in-progress for - that connection. ++ -- Daniel Baumann Fri, 02 May 2025 04:50:00 +0200 + - Other changes: - - Fix input data buffer to allow for maximum binary blob wire format, 2 byte size + max DNS message - - Mention PowerTools repository for building on CentOS etc ++dnsperf (2.14.0-4) sid; urgency=medium + - 56e180c In-progress, bitmaps, clang-format - bbc48db In-progress - 059619d In-progress - 752575a TCP EAGAIN - d51a453 Max input - 76764d7 64k TCP/DoT payload support - 8201f50 Doc ++ * Updating to standards version 4.7.1. ++ * Updating to standards version 4.7.2. + - -- Jerry Lundström Wed, 23 Aug 2023 14:59:05 +0200 - - dnsperf (2.13.0-1~unstable+1) unstable; urgency=low - - * Release 2.13.0 - - This release adds a new option `-O tls-sni=...` to set the Server Name - Indication when using TLS transport, currently for DNS-over-TLS and - DNS-over-HTTPS. ++ -- Daniel Baumann Wed, 19 Mar 2025 19:36:19 +0100 + - dbe84f6 TLS SNI - 5fb2282 Add TLS Server Name Indication extension support - - -- Jerry Lundström Thu, 15 Jun 2023 12:03:09 +0200 - - dnsperf (2.12.0-1~unstable+1) unstable; urgency=low - - * Release 2.12.0 - - This release fixes a segfault when doing DNS-over-HTTPS and changes the - way maximum queries per second are handled. - - The DNS-over-HTTPS module handled reconnecting incorrectly and destroyed - the nghttp2 context during callbacks. Thanks to the help from - @kgillis2000 it was quickly found and fixed. ++dnsperf (2.14.0-3) sid; urgency=medium + - The way maximum QPS is handled has been changed by Petr Špaček @pspacek - (ISC). The new way solves an over-shoot problem that happened due to - max QPS being counted for the whole runtime and based on completed - queries, not just sent. ++ * Trimming debian changelog. ++ * Updating vcs fields. ++ * Updating my email address. ++ * Updating year in debian copyright for 2025. ++ * Updating source url in copyright. + - A new option `qps_threshold_wait` has also been added. This controls - the threshold for using `nanosleep()` between sending packet and the - default is measured on start-up. If the time between packets, based on - max QPS `-Q`, is smaller then no sleep will be performed. This improves - performance when doing high max QPS limiting. ++ -- Daniel Baumann Sun, 09 Feb 2025 09:16:51 +0100 + - Other changes: - - `dnsperf`: Statistics output - - Fixed missing connection statistics if only reconnections happened - - Flush output to allow pipe/grep processing - - Add percentage on reconnections based on total connections - - Support OpenSSL 3.0+ ++dnsperf (2.14.0-2) sid; urgency=medium + - 9aca046 OpenSSL 3.0 - 6d3d6b4 Stats, DoH - 316f901 qps_threshold_wait - ed52770 WIP: use busy wait only if necessary - 32229b6 WIP: import nanosleep benchmark - 1842b88 Fix dnsperf -Q to not overshot target value ++ * Updating copyright for 2024. ++ * Updating to standards-version 4.7.0. + - -- Jerry Lundström Sun, 21 May 2023 10:42:53 +0200 ++ -- Daniel Baumann Thu, 25 Jul 2024 06:31:49 +0200 + - dnsperf (2.11.2-1~unstable+1) unstable; urgency=low ++dnsperf (2.14.0-1) sid; urgency=medium + - * Release 2.11.2 ++ * Merging upstream version 2.14.0. ++ * Refreshing queryparse-shebang.patch. + - Fixed long option argument handling (again), wasn't completely fixed - in v2.11.1. ++ -- Daniel Baumann Tue, 23 Jan 2024 06:13:09 +0100 + - e6dbd78 Long opt ++dnsperf (2.13.1-1) sid; urgency=medium + - -- Jerry Lundström Thu, 16 Mar 2023 09:02:10 +0100 ++ * Merging upstream version 2.13.1. + - dnsperf (2.11.1-1~unstable+1) unstable; urgency=low ++ -- Daniel Baumann Mon, 04 Sep 2023 11:25:33 +0200 + - * Release 2.11.1 ++dnsperf (2.13.0-2) sid; urgency=medium + - Fixed long option argument handling that broke in v2.11.0 and enhanced - long option help text, now includes argument type. ++ * Linking with libatomic on architectures where this is needed to fix ++ FTBFS, thanks to Adrian Bunk (Closes: #1038642). + - 034e893 Long opt ++ -- Daniel Baumann Mon, 19 Jun 2023 16:02:38 +0200 + - -- Jerry Lundström Fri, 10 Mar 2023 09:55:35 +0100 ++dnsperf (2.13.0-1) sid; urgency=medium + - dnsperf (2.11.0-1~unstable+1) unstable; urgency=low ++ * Merging upstream version 2.13.0. + - * Release 2.11.0 ++ -- Daniel Baumann Mon, 19 Jun 2023 10:47:48 +0200 + - A couple of new features this release courtesy of Petr Špaček - @pspacek (ISC) and a bunch of bugfixes. ++dnsperf (2.12.0-2) sid; urgency=medium + - First off `dnsperf` can now do verbose statistics during each interval - when using `-S`, see long option `verbose-interval-stats`. ++ * Uploading without changes after bookworm release. + - Next is a new latency histogram output using data structures (hg64) - created by Tony Finch @fanf2 (ISC), see long option - `latency-histogram`. These will also be shown during `-S` when used - together with `verbose-interval-stats`. ++ -- Daniel Baumann Sun, 11 Jun 2023 14:10:06 +0200 + - Lastly a small change to boolean long options, they no longer require - a value (`=yes`) to be enabled. ++dnsperf (2.12.0-1) experimental; urgency=medium + - Bugfixes: - - Make sure the number of outstanding queries don't go negative, - happens if queries are timed out before being sent - - Fixed #208: - - `recv_one()`: Fix handling errno, only store EAGAIN if no other - error has been received - - `do_recv()`: Don't break on error as it will count it as a received - message - - Treat `EBADF` as `EAGAIN` for stateful connections, receive thread - might read from a closed socket if send thread is reconnecting - - `dnsperf`: warn if -c, -T, -q, -Q values are auto-adjusted - - Fixed #222: don't process unexpected message if the message is - suppressed ++ * Merging upstream version 2.12.0. + - 14db835 Opt arg - fb81481 Suppress unexpected - 64b8c6d stats_t initialization - 8290775 Fix first call to diff_stats - 4f8bd24 Compile support histograms - a9b4f04 External code, latency histograms - d1f4b65 add detailed latency histograms - 044e3a2 data structures for detailed latency histograms - ad3fb03 Opt, verbose statistics - 38bc936 Command usage warnings - 9f31595 Bad file descriptor - d3650eb Receive socket error handling - 84c8e72 Negative outstanding - e7df5e1 Clarify meaning of dnsperf -S output in the man page - 830eb43 verbose interval stats for dnsperf ++ -- Daniel Baumann Wed, 24 May 2023 08:19:51 +0200 + - -- Jerry Lundström Wed, 08 Feb 2023 15:47:15 +0100 ++dnsperf (2.11.2-1) experimental; urgency=medium + - dnsperf (2.10.0-1~unstable+1) unstable; urgency=low ++ * Merging upstream version 2.11.2. + - * Release 2.10.0 ++ -- Daniel Baumann Thu, 23 Mar 2023 06:21:23 +0100 + - This release adds a binary datafile (DNS wire) format to `dnsperf` - thanks to a contribution from Petr Špaček @pspacek (ISC). ++dnsperf (2.11.1-1) experimental; urgency=medium + - The new binary format greatly improves performance in some cases, for - Petr's case it was testing dynamic updates. Switching to this - pre-compiled DNS wire format increased QPS from 4k to 600k, an increase - of 150 times throughput from `dnsperf`! ++ * Merging upstream version 2.11.1. + - See man-page for `-B` for more information and examples how to use. ++ -- Daniel Baumann Sun, 12 Mar 2023 11:11:26 +0100 + - 5971cb9 Doc - a241068 CodeQL - 2a7d10a Fix CodeQL workflow - 0ce15f6 Fix COPR - 0ae4a54 CodeQL - f52e4b1 wire format input - c423aa9 wire format input - 2b0693d Input binary format ++dnsperf (2.11.0-1) experimental; urgency=medium + - -- Jerry Lundström Fri, 11 Nov 2022 14:58:42 +0100 ++ * Merging upstream version 2.11.0. ++ * Updating years in copyright for 2023. ++ * Refreshing queryparse-shebang.patch. + - dnsperf (2.9.0-1~unstable+1) unstable; urgency=low ++ -- Daniel Baumann Sun, 12 Feb 2023 09:42:37 +0100 + - * Release 2.9.0 ++dnsperf (2.10.0-2) sid; urgency=medium + - This release brings a new message suppression option and a way to control - how many queries are sent over a connection. ++ * Updating to standards version 4.6.2. + - You can now suppress the message about receiving unexpected DNS message - IDs by using `-O suppress=unexpected`. ++ -- Daniel Baumann Wed, 25 Jan 2023 09:27:02 +0100 + - With `-O num-queries-per-conn=` you can now limit the number of - queries sent over a connection before triggering a re-connection, see - the `dnsperf(3)` man-page for more information how this works. ++dnsperf (2.10.0-1) sid; urgency=medium + - cd9df40 Tests - 864a968 Queries per connection - 7c5d6ab Suppress unexpected - 8e9f4a2 Suppress ++ * Merging upstream version 2.10.0. ++ * Updating copyright for 2022. ++ * Updating to standards version 4.6.1. ++ * Updating http links to https in copyright. ++ * Refreshing queryparse-shebang.patch. + - -- Jerry Lundström Wed, 08 Dec 2021 10:53:09 +0100 ++ -- Daniel Baumann Sat, 19 Nov 2022 15:46:08 +0100 + - dnsperf (2.8.0-1~unstable+1) unstable; urgency=low ++dnsperf (2.9.0-1) sid; urgency=medium + - * Release 2.8.0 ++ * Merging upstream version 2.9.0. + - This release fixes response handling for DNS-over-HTTPS when multiple - responses are received within the same receive cycle, and adds a new - option to suppress some of the normal and verbose output. ++ -- Daniel Baumann Thu, 09 Dec 2021 21:45:15 +0100 + - The network model within dnsperf and resperf can not process more then - one response at a time from a protocol module, so a buffer has been added - to the DNS-over-HTTPS module to handle this situation (this already exists - in all other modules). - - The new option `-O suppress=` can selectively suppress parts - of the normal and verbose output. Some of these messages might be - excessively displayed due to the network model and depending on what - protocol you use which makes usage harder then necessary. For example - during TCP connection stage, if you end-point is slow to establish - connection you will get a lot of output saying that the socket isn't ready - yet. - - 6a452b0 DoH response handling - e2828e7 Suppress - - -- Jerry Lundström Tue, 02 Nov 2021 10:49:07 +0100 ++dnsperf (2.8.0-1) sid; urgency=medium + - dnsperf (2.7.1-1~unstable+1) unstable; urgency=low ++ * Merging upstream version 2.8.0. + - * Release 2.7.1 ++ -- Daniel Baumann Sun, 07 Nov 2021 14:41:43 +0100 + - This release fixes issues with constructing wire-format DNS when the - domain names includes escaped characters such as `\123` or `\.`. ++dnsperf (2.7.1-1) sid; urgency=medium + - Other changes: - - Bump Debian package compat level to 10 ++ * Merging upstream version 2.7.1. ++ * Updating to standards version 4.6.0. + - 4873f02 DNS encoding - c4eccc0 debhelper ++ -- Daniel Baumann Fri, 08 Oct 2021 10:44:06 +0200 + - -- Jerry Lundström Fri, 17 Sep 2021 15:46:53 +0200 ++dnsperf (2.7.0-1) sid; urgency=medium + - dnsperf (2.7.0-1~unstable+1) unstable; urgency=low ++ * Merging upstream version 2.7.0. ++ * Adding newly required nghttp2 to build-depends. + - * Release 2.7.0 ++ -- Daniel Baumann Thu, 12 Aug 2021 11:19:24 +0200 + - This release adds DNS-over-HTTPS support! ++dnsperf (2.6.0-1) sid; urgency=medium + - DNS-over-HTTPS can be used by specifying transport mode `doh` and you - should also look at the dnsperf(1) man-page (or `-H`) for the extended - options `doh-uri` and `doh-method`, which controls aspects of DoH/HTTP/2 - that you might want to set. ++ * Merging upstream version 2.6.0. ++ * Adding forgotten changelog entry for previous upload. + - Other fixes: - - Add check when constructing DNS packet so that total length of labels - does not exceed 255 bytes - - Fix connection/reconnection state handling for DoT transport - - Fix event handling by initializing them directly when opening the - sockets, otherwise events could have been missed which would give - incorrect statistics ++ -- Daniel Baumann Sat, 17 Jul 2021 09:17:21 +0200 + - 61b5eac Tests with dumdumd - d71071c Tests with dumdumd - b42f92e DoH sending - 2fa40bb Net stats - f7f8692 DoH fixes - ea62b49 DoH concurrent streams - 91929f1 DoH reconnect - 17660e6 DoH fixes - 5276aa6 resperf buckets - 585860e Packages - 3ffc601 Fixes - 1570609 Man-page - 6bcadc7 README - f81adf1 Fixes - 1acd71f Code structure - 6c47876 Fixes - 2d379f4 Fixes - 4d5384b Fixes - cee93b3 Initial DNS-over-HTTPS support implementation - 4ff3ebc Events - 8b24bbf DoT state - 6a5b5ef Fix too long name - 71fa09f long opts ++dnsperf (2.5.2-1) sid; urgency=medium + - -- Jerry Lundström Mon, 09 Aug 2021 14:10:07 +0200 ++ * Merging upstream version 2.5.2. ++ * Repeating sections in package block in control for consistency. + - dnsperf (2.6.0-1~unstable+1) unstable; urgency=low ++ -- Daniel Baumann Wed, 31 Mar 2021 09:38:15 +0200 + - * Release 2.6.0 - - This release adds EDNS options parameter `-E` to `resperf` and a script - for generating EDNS Client Subnet options (see `contrib/ecs-gen`). ++dnsperf (2.5.0+debian-1) sid; urgency=medium + - d29d880 ECS opt - 877f31e edns option - - -- Jerry Lundström Mon, 31 May 2021 11:40:40 +0200 - - dnsperf (2.5.2-1~unstable+1) unstable; urgency=low - - * Release 2.5.2 - - This release tweaks the reconnect code for TCP and DoT. - - For TCP, atomic operations are used to signal the need to reconnect - from the receiving thread to the sending, as the sending is the one in - charge of reconnecting. - This speeds up detection of connection lost which reduces the amount of - lost queries on a disconnect. - - This change does not affect DoT as much, as the SSL context shared - between the threads are protected by a mutex. - But a bug was found in `sendto()` for DoT that could drop a query if - the socket was busy sending. - - The connect and reconnect socket events has been split into connecting, - connected and reconnecting, reconnected. This is to report more correct - reconnect events when it comes to DoT, because the connection can be - lost while negotiating TLS. ++ * Merging upstream version 2.5.0+debian. ++ * Adding new build-depends to libck-dev. + - Lastly, additional tests has been added for the network code. ++ -- Daniel Baumann Fri, 12 Mar 2021 22:08:36 +0100 + - d9e5663 net test - 22f49df network tests - 8e5b56e reconnect ++dnsperf (2.4.2+debian-2) sid; urgency=medium + - -- Jerry Lundström Thu, 25 Mar 2021 13:18:38 +0100 ++ * Adding watch file. + - dnsperf (2.5.1-1~unstable+1) unstable; urgency=low ++ -- Daniel Baumann Tue, 09 Mar 2021 11:31:48 +0100 + - * Release 2.5.1 - - This release re-adds support for TYPEnnn and ANY in the datafile, this - was missed during the removal of the dependency on BINDs development - libraries in v2.4.0. - - Also note that with v2.5.0, this software now depends on Concurrency - Kit (ck) for atomic operations. - - 924e6ea ANY - 0a444c0 TYPEnnn - - -- Jerry Lundström Mon, 22 Mar 2021 14:06:34 +0100 - - dnsperf (2.5.0-1~unstable+1) unstable; urgency=low - - * Release 2.5.0 - - This release adds re-connection support for TCP and DoT protocol, - new options to `resperf` and fixes a few bugs. - - `dnsperf` and `resperf` will now try to re-connect when they lose a TCP - or DoT connection, and with that comes a few new statistics metrics. - For `dnsperf`, if a connection oriented protocol is used, it will now - show the total number of re-connections made and the connection latency. - For `resperf` it also shows the total number of re-connections made and - the gnuplot data now contains the total number of connections made and - the connection latency for each interval. - Beside re-connection support, improvements have been made when it comes - to tracking socket readiness while connections are established which - should generate less warnings about "socket not ready". - - New `resperf` options: - - `-R`: Reopen the datafile if it runs out of data before the testing - is completed. This allows for long running tests on very small and - simple query datafile. - - `-F `: Sets the maximum number of queries that can fall - behind being sent. `resperf` will stop when this many queries should - have been sent and it can be relative easy to hit if `-m ` - is set too high. - The default is 1000 and setting it to zero (0) disables the check. - - Bugfixes: - - Fixed port handling for host/network format when setting client side - port with `-x` - - Fix support for quoted characters, `\000` and `\.`, in domain names, - this was lost when removing BIND's internal development libraries - - Fix issue in `dnsperf`, it would loop forever if no connection could - be established - - Fix potential buffer overrun in `resperf` when using response id - for `queries[]` - - DoT: Fix bug when sending from buffer - - Other changes: - - Always use `IPV6_V6ONLY` socket option for IPv6 - - Add man-page on `-W` option added in v2.4.0 - - Reformat man-pages - - `resperf`: - - Try and process more request each run to hopefully not hit max - outstanding so easy when high QPS - - Add default value to `-C` so it shows in help - - 9308361 man-page format - 0e52fb4 man-page, opts, tuneups - e36211d stats - d9b9ba3 Response qid to index - 2b2c37e fixes, reconnection - acd31e5 dname quote - de8f049 net - - -- Jerry Lundström Fri, 12 Mar 2021 10:53:34 +0100 - - dnsperf (2.4.2-1~unstable+1) unstable; urgency=low - - * Release 2.4.2 - - This release fixes a few issues with reading of the datafile which - could lead to "ran out of data" errors. - - The problem was that reading from the datafile was done before finding - a socket to send it on, or socket readyness, and that lead to progressing - the queries without really doing anything. - Another issues that's been fixed was that if the read lines perfectly - aligned with the buffer, it would be treated like EOF and caused an exit. - - 9937287 resperf TLS - 6736956 datafile - 55faec6 ran out of data - - -- Jerry Lundström Tue, 23 Feb 2021 14:23:04 +0100 - - dnsperf (2.4.1-1~unstable+1) unstable; urgency=low - - * Release 2.4.1 - - This release fixes an issue with the socket readiness function that - could cause a buffer overflow (`-T 10 -c 2000`) due to `select()` being - limited to check 1023 sockets. `poll()` is now used which has no limit. - - There has also been a few fixes to the contrib script `queryparse` that - has to do with python v2 and v3 compatibility and better exception - handling. - - 24e5bee poll - 7dceca7 Handle only common exceptions - 5603294 Fix error on python3 - 48fa517 TSIG - - -- Jerry Lundström Tue, 09 Feb 2021 13:03:54 +0100 - - dnsperf (2.4.0-1~unstable+1) unstable; urgency=low - - * Release 2.4.0 - - This release removes the dependency on BIND's internal development - libraries! This make building and packaging a lot easier and less - troublesome in the future. - - This software now depends only on OpenSSL (for TSIG feature) with an - optional depend on LDNS (for dynamic updates feature). - - New option: - - Transport mode option `-m`/`-M` now recognizes `dot` alongside `tls` - for encrypted DNS - - Added `-W` for outputting warnings and errors to stdout - - Other changes / bugfixes: - - Fix potential memory leak of query descriptions when using verbose - - Only use TLS v1.2 and above for DoT/TLS - - Add a lot of tests - - Add coverage testing - - d17743b datafile - 434bbf2 Checks, coverage, log, test IPv6 - 9fb305f Coverage - 123ebf1 DOT, TLS version, Sonarcloud - 26df0bd BIND dependency - ee660e7 Sonarcloud - c9ea0ab base64 - 4e9be82 TSIG - 4275045 EDNS, https - 7c3f51c BIND dependency - 6e1be5d ISC dependencies - e36f19d Buffer - 485cdd2 ISC mem, tests - 663dc24 Namespace clash - 2c44987 dynamic updates, edns, headers - 5d109b2 Disable HMAC - 79cae93 datafile, query desc - 663d814 net - c867de6 isc_result_t - 651ee5d opt - 7d30804 isc_result_t - 58ad313 ISC linked list - 7b4da6d Info - 8079ebc Tests - e3fb685 Tests - 2bb603a Tests - 297b23b Test - c4e244b Test - 1caac35 Makefile - e9f2aaa Coverage - 27af853 Fix typo in configure.ac - 521faa6 Badges - 8fa2ec4 LGTM - 75c89e5 COPR ++dnsperf (2.4.2+debian-1) sid; urgency=medium + - -- Jerry Lundström Wed, 09 Dec 2020 12:16:03 +0100 ++ * Initial upload to sid (Closes: #984535). ++ * Rebuilding upstream tarball without debian directory. + - dnsperf (2.3.4-1~unstable+1) unstable; urgency=low - - * Release 2.3.4 - - This release adds a workaround, thanks to patch from Petr Menšík, for - building on systems with BIND 9.16. Also improves error handling by - using thread-safe `strerror_r()` instead of `strerror()`. - - 88c3ef4 strerror - 1917f67 openSUSE Tumbleweed - fd39641 AS_VAR_APPEND - aeeef74 bind 9.16 - 07732cd BIND, libcrypto, clang format - 08146e3 Add crypto library to checks - e4307c2 Add checks to pass with BIND 9.16 - 3f9aed3 Prepare check for bind 9.11/9.16 return types - - -- Jerry Lundström Fri, 15 May 2020 10:38:07 +0200 - - dnsperf (2.3.3-1~unstable+1) unstable; urgency=low - - * Release 2.3.3 - - This release changes the behavior of `dnsperf` and `resperf` when it - comes to TCP and TLS connections, and updates package building using - COPR (thanks to patch from Petr Menšík (Red Hat)). - - Connection reset or close are now treated as "try again" so that the - run is finished and not aborted. As SIGPIPE might be received on usage - of closed connections it's now blocked in `dnsperf` and handled as - a fatal action in `resperf`. - - 62885ad SIGPIPE - 106c50e connection - 3ef0899 README - 61a3b1c COPR - 35efa27 COPR - 46b37a1 COPR - 5c126ae COPR - 1c51b76 Provide full URL in spec - 2a4dd0e Allow recreation of source archive - 931d6cc Do not require root for archive creation - - -- Jerry Lundström Wed, 06 May 2020 14:52:24 +0200 - - dnsperf (2.3.2-1~unstable+1) unstable; urgency=low - - * Release 2.3.2 - - This release fixes a buffer overflow when using TSIG and algorithms - with digests larger then SHA256, reported by Mukund Sivaraman. Also - fix build dependencies for `sqrt()`. - - e54aa58 Digest - bca5d8d sqrt - d9eaa5b Package - - -- Jerry Lundström Fri, 23 Aug 2019 10:42:29 +0200 - - dnsperf (2.3.1-1~unstable+1) unstable; urgency=low - - * Release 2.3.1 - - After a report and additional confirming results the use of `poll()` in - the network receive code for TCP and TLS has been removed. This `poll()` - initially gave better results while testing in a docker container on - it's loopback interface but when on physical networks it reduced - performance to 1/12th, so it had to go. - - Thanks to Brian Wellington (Akamai/Nominum) for the initial report and - testing, and to Jan Hák (CZ.NIC) for testing and confirming the results. - - Bugfix: - - Fix check for having more DNS messages in the receive buffer for TCP - and TLS - - 670db9c TCP/TLS receive - b8925b2 recvbuf have more - - -- Jerry Lundström Wed, 24 Jul 2019 09:28:45 +0200 - - dnsperf (2.3.0-1~unstable+1) unstable; urgency=low - - * Release 2.3.0 - - This release adds support for DNS over TCP and TLS which can be selected - by using the mode option for `dnsperf` and `resperf`. The default server - port used is now determined by the transport mode, udp/tcp port 53 and - tls port 853. - - Note that the mode option is different between the program because it was - already taken for `resperf`. - - `dnsperf` changes: - - Add `-m` for setting transport mode, `udp` (default), `tcp` or `tls` - - Add verbose messages about network readiness and congestion - - `resperf` changes: - - Add `-M` for setting transport mode, `udp` (default), `tcp` or `tls` - - Add `-v` for verbose mode to report about network readiness and - congestion - - ffa49cf LGTM, SonarCloud - 4cd5441 TLS - 35624d1 TCP send, socket ready loop - fbf76aa TCP support - 5988b06 Funding - - -- Jerry Lundström Wed, 17 Jul 2019 08:57:03 +0200 - - dnsperf (2.2.1-1~unstable+1) unstable; urgency=low - - * Release 2.2.1 - - The commit pulled from a fork that used `inttypes.h`, instead of ISC - internal types, missed to remove the old conversion specifier. - This was reported and fixed by Vladimír Čunát. - - 9534ce1 remove visible "u" characters after numbers - - -- Jerry Lundström Mon, 28 Jan 2019 08:15:32 +0100 - - dnsperf (2.2.0-1~unstable+1) unstable; urgency=low - - * Release 2.2.0 - - First release by DNS-OARC with a rework of the code to use autotools, - semantic versioning 2.0 and bugfixes pulled from other's forks. - - Bugfixes: - - Fix infinite loop in argument parsing - - Fix min/max latency summing for multithreaded runs - - Fix calculation of per_thread socket counts - - Fixes to queryparse - - Mark correctly end of file - - Support python3 - - Stop looping on end of file undefinitely - - Fix compilation issues and work around missing `dns_fixedname_initname()` - - Clang `scan-build` fixes - - Other changes: - - add "configure --with-bind" option - - Handle bind library changes to HMAC (see #22) and other differences - between versions - - Workaround issue on FreeBSD (see #23) - - Use `snprintf()` and OpenBSD's `strlcat()` - - Add/update build dependencies for Debia, Ubuntu, CentOS, FreeBSD - and OpenBSD - - ae9bc91 Clang format - b9bb085 CI, buildbot - b84e41b Autotools, README, changelog - a2e1732 License - 9dcb661 Remove $Id markers, Principal Author and Reviewed tags from the - full source tree - 0677bf0 Use dns_fixedname_initname() where possible - d8d4696 [master] add "configure --with-bind" option to dnsperf - b71a280 Add deb based distros dependencies - 439c614 Replace custom isc_boolean_t with C standard bool type - 407ae7c Replace custom isc_u?intNN_t types with C99 u?intNN_t types - c27afd4 Replace ISC_PRINT_QUADFORMAT with inttypes.h format constants - 6fdb2f7 Fix queryparse - 4909b78 README - 2782d50 README.md: Rectify link to software - e31ddf4 fix calculation of per_thread socket counts - 3bd7fb4 Fix min/max latency summing for multithreaded runs - 2207e27 Fix infinite loop in argument parsing. - 3bfe97a Include the github URL; remove the bug reports section. - 0cee04a Add note about bug reports. - 62c4b32 add .gitignore - c45f0be Initial import. - 149172b Initial commit - - -- Jerry Lundström Fri, 25 Jan 2019 11:55:12 +0100 ++ -- Daniel Baumann Thu, 04 Mar 2021 19:40:24 +0100 diff --cc debian/control index 4d58211,0000000..f2902d5 mode 100644,000000..100644 --- a/debian/control +++ b/debian/control @@@ -1,48 -1,0 +1,34 @@@ +Source: dnsperf - Section: net ++Section: utils +Priority: optional - Maintainer: Jerry Lundström - Build-Depends: debhelper (>= 10), build-essential, automake, autoconf, - libtool, libssl-dev, pkg-config, libldns-dev, libck-dev, libnghttp2-dev, - libjson-c-dev - Standards-Version: 3.9.4 - Homepage: https://www.dns-oarc.net/tools/dnsperf - Vcs-Git: https://codeberg.org/DNS-OARC/dnsperf.git - Vcs-Browser: https://codeberg.org/DNS-OARC/dnsperf ++Maintainer: Daniel Baumann ++Build-Depends: ++ debhelper-compat (= 14), ++ dh-sequence-single-binary, ++ libck-dev, ++ libldns-dev, ++ libnghttp2-dev, ++ libssl-dev, ++ pkg-config, ++Standards-Version: 4.7.4 ++Homepage: https://codeberg.org/DNS-OARC/dnsperf ++Vcs-Browser: https://forgejo.debian.net/dns-oarc/dnsperf ++Vcs-Git: https://forgejo.debian.net/dns-oarc/dnsperf + +Package: dnsperf ++Section: utils +Architecture: any - Depends: ${shlibs:Depends}, ${misc:Depends} ++Depends: ++ ${misc:Depends}, ++ ${shlibs:Depends}, ++Suggests: ++ python3-dnspython, ++ python3-pcapy, +Description: DNS Performance Testing Tool - dnsperf and resperf are free tools developed by Nominum/Akamai (2006-2018) - and DNS-OARC (since 2019) that make it simple to gather accurate latency and - throughput metrics for Domain Name Service (DNS). These tools are easy-to-use - and simulate typical Internet, so network operators can benchmark their naming - and addressing infrastructure and plan for upgrades. The latest version of - the dnsperf and resperf can be used with test files that include IPv6 - queries. - . - dnsperf "self-paces" the DNS query load to simulate network conditions. - . - New features in dnsperf improve the precision of latency measurements and - allow for per packet per-query latency reporting is possible. dnsperf is - now multithreaded, multiple dnsperf clients can be supported in multicore - systems (each client requires two cores). The output of dnsperf has also - been improved so it is more concise and useful. Latency data can be used to - make detailed graphs, so it is simple for network operators to take advantage - of the data. - - Package: resperf - Architecture: any - Depends: ${shlibs:Depends}, ${misc:Depends} - Description: DNS Resolution Performance Testing Tool - dnsperf and resperf are free tools developed by Nominum/Akamai (2006-2018) - and DNS-OARC (since 2019) that make it simple to gather accurate latency and - throughput metrics for Domain Name Service (DNS). These tools are easy-to-use - and simulate typical Internet, so network operators can benchmark their naming - and addressing infrastructure and plan for upgrades. The latest version of - the dnsperf and resperf can be used with test files that include IPv6 - queries. ++ dnsperf gathers accurate latency and throughput metrics for the Domain Name ++ Service (DNS). Network operators can benchmark their naming and addressing ++ infrastructure. dnsperf "self-paces" the DNS query load to simulate network ++ conditions. + . + resperf systematically increases the query rate and monitors the response + rate to simulate caching DNS services. diff --cc debian/copyright index 3d842b5,0000000..9029bf9 mode 100644,000000..100644 --- a/debian/copyright +++ b/debian/copyright @@@ -1,55 -1,0 +1,30 @@@ - Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ ++Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: dnsperf - Source: https://codeberg.org/DNS-OARC/dnsperf ++Upstream-Contact: https://codeberg.org/DNS-OARC/dnsperf/issues ++Source: https://codeberg.org/DNS-OARC/dnsperf/tags + +Files: * +Copyright: 2019-2026 OARC, Inc. + 2017-2018 Akamai Technologies + 2006-2016 Nominum, Inc. +License: Apache-2.0 + - Files: src/ext/parse_uri.* - Copyright: 2003 Tatsuhiro Tsujikawa - License: Tsujikawa - - Files: src/ext/hg64.* - Copyright: Internet Systems Consortium, Inc. ("ISC") - License: MPL-2.0 - - License: Tsujikawa - Permission is hereby granted, free of charge, to any person obtaining - a copy of this software and associated documentation files (the - "Software"), to deal in the Software without restriction, including - without limitation the rights to use, copy, modify, merge, publish, - distribute, sublicense, and/or sell copies of the Software, and to - permit persons to whom the Software is furnished to do so, subject to - the following conditions: - . - The above copyright notice and this permission notice shall be - included in all copies or substantial portions of the Software. - . - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE - LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION - OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION - WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ++Files: debian/* ++Copyright: 2021-2026 Daniel Baumann ++License: Apache-2.0 + +License: Apache-2.0 + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + . - http://www.apache.org/licenses/LICENSE-2.0 ++ https://www.apache.org/licenses/LICENSE-2.0 + . + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. - - License: MPL-2.0 - This Source Code Form is subject to the terms of the Mozilla Public - License, v. 2.0. If a copy of the MPL was not distributed with this - file, you can obtain one at https://mozilla.org/MPL/2.0/. ++ . ++ The complete text of the Apache-2.0 License ++ can be found in /usr/share/common-licenses/Apache-2.0 file. diff --cc debian/dnsperf.lintian-overrides index 0000000,0000000..a550746 new file mode 100644 --- /dev/null +++ b/debian/dnsperf.lintian-overrides @@@ -1,0 -1,0 +1,2 @@@ ++# Suggests rather than to Depends to python3 just for the queryparse contrib script. ++dnsperf: python3-script-but-no-python3-dep usr/bin/pcap-queryparse #!/usr/bin/python3 diff --cc debian/patches/debian/0001-queryparse-shebang.patch index 0000000,0000000..3054fda new file mode 100644 --- /dev/null +++ b/debian/patches/debian/0001-queryparse-shebang.patch @@@ -1,0 -1,0 +1,12 @@@ ++Author: Daniel Baumann ++Description: Correcting Python shebang. ++ ++diff -Naurp dnsperf.orig/contrib/queryparse/queryparse dnsperf/contrib/queryparse/queryparse ++--- dnsperf.orig/contrib/queryparse/queryparse +++++ dnsperf/contrib/queryparse/queryparse ++@@ -1,4 +1,4 @@ ++-#!/usr/bin/env python +++#!/usr/bin/python3 ++ # ++ # Copyright 2019-2026 OARC, Inc. ++ # Copyright 2017-2018 Akamai Technologies diff --cc debian/patches/series index 0000000,0000000..eafb9c0 new file mode 100644 --- /dev/null +++ b/debian/patches/series @@@ -1,0 -1,0 +1,1 @@@ ++debian/0001-queryparse-shebang.patch diff --cc debian/rules index 025389d,0000000..2df2d96 mode 100755,000000..100755 --- a/debian/rules +++ b/debian/rules @@@ -1,12 -1,0 +1,18 @@@ +#!/usr/bin/make -f - # -*- makefile -*- + - # Uncomment this to turn on verbose mode. - #export DH_VERBOSE=1 ++ifneq (,$(filter $(DEB_HOST_ARCH), armel m68k mipsel powerpc sh4)) ++ export DEB_LDFLAGS_MAINT_APPEND += -Wl,--no-as-needed -latomic -Wl,--as-needed ++endif + +%: - dh $@ ++ dh ${@} + - override_dh_auto_configure: - ./autogen.sh - dh_auto_configure ++execute_after_dh_auto_install: ++ # queryparse ++ cp contrib/queryparse/queryparse debian/dnsperf/usr/bin/pcap-queryparse ++ cp contrib/queryparse/queryparse.1 debian/dnsperf/usr/share/man/man1/pcap-queryparse.1 ++ cp contrib/queryparse/USAGE debian/dnsperf/usr/share/doc/dnsperf/pcap-queryparse.USAGE ++ ++ # Removing useless files ++ rm -f debian/dnsperf/usr/share/doc/dnsperf/LICENSE ++ rm -f debian/dnsperf/usr/share/doc/dnsperf/README.md diff --cc debian/upstream/metadata index 0000000,0000000..0c9d7e7 new file mode 100644 --- /dev/null +++ b/debian/upstream/metadata @@@ -1,0 -1,0 +1,5 @@@ ++--- ++Bug-Database: https://codeberg.org/DNS-OARC/dnsperf/issues ++Bug-Submit: https://codeberg.org/DNS-OARC/dnsperf/issues/new ++Repository: https://codeberg.org/DNS-OARC/dnsperf.git ++Repository-Browse: https://codeberg.org/DNS-OARC/dnsperf diff --cc debian/watch index 0000000,0000000..818219d new file mode 100644 --- /dev/null +++ b/debian/watch @@@ -1,0 -1,0 +1,6 @@@ ++Version: 5 ++ ++Source: https://codeberg.org/api/v1/repos/DNS-OARC/dnsperf/tags ++Matching-Pattern: https://codeberg.org/DNS-OARC/dnsperf/archive/[^"-_v]*@ANY_VERSION@@ARCHIVE_EXT@ ++Search-Mode: plain ++Filename-Mangle: s%.*/[^"-_v]*@ANY_VERSION@%@PACKAGE@-$1%